//参数配置
const parameter = {
    namespaced: true,
    state: {
        updateTime: 20000,//首页数据更新时间间隔
        uploadDataTime: 24,//上传数据不能超过的
        dzMap: [
            { name: "市本级", value: 1 },
            { name: "通川区", value: 2 },
            { name: "达川区", value: 3 },
            { name: "宣汉县", value: 4 },
            { name: "大竹县", value: 5 },
            { name: "渠县", value: 6 },
            { name: "开江县", value: 7 },
            { name: "万源市", value: 8 }
        ],
        uploadState: [
            { label: "上传成功", value: 0 },
            { label: "未上传", value: 1 },
            { label: "上传失败", value: 2 }
        ],
        sexs: [
            { label: '男', value: 1 },
            { label: '女', value: 2 }
        ]
    },
    getters: {
        updateTime: state => state.updateTime,
        dzMap: state => state.dzMap,
        uploadState: state => state.uploadState,
        uploadDataTime: state => state.uploadDataTime,
        sexs: state => state.sexs,
    }
}

export default parameter